package com.zmht.specedu.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.zmht.specedu.frame.util.ConstantsVars;

/**
 * Plan entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Plan implements java.io.Serializable {

    // Fields

    private Integer planId;
    private String planName;
    private String planer;
    private String planerName;
    private Integer classID;
    private String className;
    
    private Date planerTime;
    private Set<Target> targets = new HashSet<Target>(0);

    private Integer classType = ConstantsVars.CLASS_TYPE_COMMON;

    // Constructors

    /** default constructor */
    public Plan() {
    }

    /**
     * @param classID
     * @param className
     * @param planId
     * @param planName
     * @param planer
     * @param planerName
     * @param planerTime
     */
    public Plan(Integer classID, String className, Integer planId,
	    String planName, String planer, String planerName, Date planerTime) {
	super();
	this.classID = classID;
	this.className = className;
	this.planId = planId;
	this.planName = planName;
	this.planer = planer;
	this.planerName = planerName;
	this.planerTime = planerTime;
    }

    /** full constructor */
    public Plan(Integer planId, String planName, String planer,
	    Date planerTime, Set plantargets) {
	this.planId = planId;
	this.planName = planName;
	this.planer = planer;
	this.planerTime = planerTime;
	this.targets = plantargets;
    }

    // Property accessors

    public Integer getPlanId() {
	return this.planId;
    }

    public void setPlanId(Integer planId) {
	this.planId = planId;
    }

    public String getPlanName() {
	return this.planName;
    }

    public void setPlanName(String planName) {
	this.planName = planName;
    }

    public String getPlaner() {
	return this.planer;
    }

    public void setPlaner(String planer) {
	this.planer = planer;
    }
    public Integer getClassType() {
        return classType;
    }

    public void setClassType(Integer classType) {
        this.classType = classType;
    }

    public Date getPlanerTime() {
	return this.planerTime;
    }

    public void setPlanerTime(Date planerTime) {
	this.planerTime = planerTime;
    }

    public Set<Target> getTargets() {
	return targets;
    }

    public void setTargets(Set<Target> targets) {
	this.targets = targets;
    }

    public String getPlanerName() {
	return planerName;
    }

    public void setPlanerName(String planerName) {
	this.planerName = planerName;
    }

    public Integer getClassID() {
	return classID;
    }

    public void setClassID(Integer classID) {
	this.classID = classID;
    }

    public String getClassName() {
	return className;
    }

    public void setClassName(String className) {
	this.className = className;
    }

}